<?php #//AJAX PHP PENNY AUCTION v.1.1

#///////////////////////////////////////////////////////////
#//  COPYRIGHT 2009 Aaron Helmlinger ALL RIGHTS RESERVED  //
#///////////////////////////////////////////////////////////

    $query_settings3 = "select * from PHPAUCTIONXL_version_2_0 where id='1'";
                             $query_settings4 =  mysql_query ($query_settings3);
                                $intl_date_time1 = mysql_result($query_settings4,0,"intl_date_time");




?>



<script language="JavaScript">


function showimage()
{


document.images.pictures.src="images/avatar/" +document.registration.avatar1.options[document.registration.avatar1.selectedIndex].value+ "";

    /*var pagesObj = document.getElementById("avatar1");
alert(pagesObj.options[pagesObj.selectedIndex].value); 

var x=document.getElementById("avatar1")
alert(x.options[x.selectedIndex].text)*/

}


    function RequiredFields(id,id2) {
    
 if (document.getElementById(id).value=="")
 {           

document.getElementById(id).style.border='solid 0px red';
document.getElementById(id2).innerHTML = '<font color=red size=-2><? print $REQUIRED_FIELD; ?></font><br>';
                           
                     } 
                   }
             
             
                function RequiredFields2(id,id2) {
    
 if (document.getElementById(id).value!="")
 {        
document.getElementById(id).style.border='solid 0px #bbbbbb';
document.getElementById(id2).innerHTML = '';  
                                        
                     } 
                   }
                   
                   
                   function passwordChanged() {
var strength = document.getElementById('strength');

//var strongRegex = new RegExp("^(?=.{8,})(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*\W).*$", "g");



var strongRegex = new RegExp("^(?=.{8,})(((?=.*[A-Z])(?=.*[a-z]))|((?=.*[A-Z])(?=.*[0-9]))|((?=.*[a-z])(?=.*[0-9]))).*$", "g");

var mediumRegex = new RegExp("^(?=.{7,})(((?=.*[A-Z])(?=.*[a-z]))|((?=.*[A-Z])(?=.*[0-9]))|((?=.*[a-z])(?=.*[0-9]))).*$", "g");

var enoughRegex = new RegExp("(?=.{6,}).*", "g");


var pwd = document.getElementById("5");
if (pwd.value.length==0) {
strength.innerHTML = 'Six (6) Characters Min.';
} else if (false == enoughRegex.test(pwd.value)) {
strength.innerHTML = '<span class=BOLDTEXT><span style="color:red"><? print $REGISTER_PAGE_MORE_CHARACTERS_NEEDED; ?></span></span>';
} else if (strongRegex.test(pwd.value)) {
strength.innerHTML = '<span class=BOLDTEXT><span style="color:green"><? print $REGISTER_PAGE_STRONG; ?></span></span>';
} else if (mediumRegex.test(pwd.value)) {
strength.innerHTML = '<span class=BOLDTEXT><span style="color:orange"><? print $REGISTER_PAGE_MEDIUM; ?></span></span>';
} else {
strength.innerHTML = '<span class=BOLDTEXT><span style="color:red"><? print $REGISTER_PAGE_WEAK; ?></span></span>';
}


         }          
                         
                     
function passwordCheck() {
  var password1=document.getElementById('5').value;
    var password2=document.getElementById('6').value;


                   if ( password1 === password2 ) {

        document.getElementById('password_match').innerHTML = '<span style="color:green"><? print $REGISTER_PAGE_PASSWORDS_MATCH; ?></span>';

       }
       
       
        if ( password1 != password2 ) {

        document.getElementById('password_match').innerHTML = '<span style="color:red"><? print $REGISTER_PAGE_PASSWORDS_DO_NOT_MATCH; ?></span>';

       }

        }
            
              
              
                             
function termcheck() {
  var password1=document.getElementById('13').checked;
    var password2=document.getElementById('14').checked;


                   if ( password1 == false) {

       alert('<? print $REGISTER_PAGE_PLEASE_CHECK_THE_TERMS_AND_CONDITIONS_BOX; ?>');
            return (false);
       }
       
       
        if ( password2 == false) {

         alert('<? print $REGISTER_PAGE_PLEASE_CHECK_THE_PRIVACY_POLICY_BOX; ?>');
                return (false);
       }
               
               return (true);
        }
        
        
        function emailCheck() {
  
  
  
  var password1=document.getElementById('7').value;
    var password2=document.getElementById('7b').value;


                   if ( password1 === password2 ) {

        document.getElementById('email_match').innerHTML = '<span style="color:green"><? print $REGISTER_PAGE_EMAILS_MATCH; ?></span>';

       }
       
       
        if ( password1 != password2 ) {

        document.getElementById('email_match').innerHTML = '<span style="color:red"><? print $REGISTER_PAGE_EMAILS_DO_NOT_MATCH; ?></span>';

       }

        }
            
            
 function usernameAjaxFunction(value1)
{
var xmlhttp;
if (window.XMLHttpRequest)
  {
  // code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else
  {
  // code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
xmlhttp.onreadystatechange=function()
{
if(xmlhttp.readyState==4)
  {
  
  
  var na=xmlhttp.responseText;
  

  
            if ( na != 1 )       {
  
      
           document.getElementById('username25').innerHTML='<span class=BOLDTEXT><span style="color:green"><? print $REGISTER_PAGE_AVAILABLE; ?></span></span>';     
    
                   }
   
           if ( na == 1 )       {
   
        document.getElementById('username25').innerHTML='<span class=BOLDTEXT><span style="color:red"><? print $REGISTER_PAGE_NOT; ?></span></span>'; 
  
            }
  
  
  
  }
}

value2 = "nick_lookup.php?nick=" + value1 + "";




xmlhttp.open("GET",value2,true);
xmlhttp.send(null);
}           
            
            
            
                   </script>
                   
       <? 
       
       $tabid = 3;
  include "tab_menu.php";
  $subtabid = "logout";
  include "tab_submenu.php";
  include "category_menu.php";
  $page_title_text = $MSG_163;
  
    if ( $free_sign_up_bids > 0 ) {
  $page_title_note = "<BR>$REGISTER_PAGE_GET_FREE_BIDS_JUST_FOR_REGISTERING1 ".$free_sign_up_bids." $REGISTER_PAGE_GET_FREE_BIDS_JUST_FOR_REGISTERING2<BR>";
                  }
        else {
  $page_title_note = " ";
                  }
  
  include "page_title.php";
  ?>            
      
     <? print $tab_menu ?>
     <? print $tab_submenu ?>
     <? print $category_menu ?>  
     <? print $page_title_content_box_start; ?>
 

<p>
        

        <?
        if(!empty($TPL_errmsg)) {
        ?><BR> 
        <div class=errfont>
           <?=$TPL_errmsg?>
        </div>
        <?
        }
		?>

 <div class="EDITDATA3">

              
 
            <form name=registration action="register.php" method="POST" onsubmit="return termcheck();">
                <table width="90%" border="0" cellpadding="4" cellspacing=0>
                          
                
                    <?
                    if($SETTINGS['accounttype'] == 'sellerbuyer') {
					?>
					
					
					
                    <tr>
                        <td width="40%"  align="right"><b><? print $MSG_25_0133; ?></b></td>
                        <td width="60%">
                            <input type=radio name=accounttype value='seller' <?if($_POST['accounttype'] == 'seller') print " checked=true";?> />
                            <?=$MSG_25_0134?>
                            <?
                            if($SETTINGS['sbsignupconfirmation'] == 's' || $SETTINGS['sbsignupconfirmation'] == 'sb') {
                            	print "<P class=errfont>$MSG_25_0136</p>";
                            }
							?>
                            <br />
                            <input type=radio name=accounttype value='buyer' <?if($_POST['accounttype'] == 'buyer') print " checked=true";?> />
                            <?=$MSG_25_0135?>
                            <?
                            if($SETTINGS['sbsignupconfirmation'] == 'b' || $SETTINGS['sbsignupconfirmation'] == 'sb') {
                            	print "<P class=errfont>$MSG_25_0136</p>";
                            }
							?>
                        </td>
                    </tr>
                    <?
                    }
					?>
					
					            <tr>
                        <td width="40%"  align="right"><font COLOR=#1E5A8C size=+1></TD>
                                <td width="60%" align=left>
                              				 <font COLOR=red >
                        <span class=BOLDTEXT><? print $REGISTER_PAGE_NOTE_ALL_FIELDS_REQUIRED; ?></font></span>   
                         </td>  </TR>
                        
	
                        
                        
                    <tr>
                        <td width="40%"  align="right"><font COLOR=#1E5A8C size=+1>
                        <span class=BOLDTEXT><? print $MSG_002; ?></font></span>  </td>
                        
                            
                             <td width="60%" align=left>
                          <HR width=60% align=left color=#1E5A8C>   
                         </td>  </TR>            
                            
                            
                            
                  <? if ( $phone_type2 == 'usa' ) { ?>           
                            
                        <tr>
                        <td width="40%"  align="right"><b> 
                        
                        <? print $REGISTER_PAGE_HONORIFIC; ?>
                        
                         </td>                  
                         <td width="60%">
                   <span id=1a>  </span>     
              <SELECT id=1 NAME="TPL_surname" class=EDITDATA2A onmouseover=RequiredFields('1','1a'); onmouseout=RequiredFields2('1','1a');>
<OPTION VALUE="<?=$_POST[TPL_surname]?>"><?=$_POST[TPL_surname]?> 
<OPTION VALUE=<? print $REGISTER_PAGE_MR; ?> ><? print $REGISTER_PAGE_MR; ?>
<OPTION VALUE=<? print $REGISTER_PAGE_MRS; ?> ><? print $REGISTER_PAGE_MRS; ?>
<OPTION VALUE=<? print $REGISTER_PAGE_MS; ?> ><? print $REGISTER_PAGE_MS; ?>
<OPTION VALUE=<? print $REGISTER_PAGE_DR; ?> ><? print $REGISTER_PAGE_DR; ?>
</SELECT>     

     </td>  </TR>
     
             <? } ?>
     
              
                     <? if ( $phone_type2 != 'usa' ) { ?> 
        
        	        <tr>
                        <td width="40%"  align="right"><b><? print $REGISTER_PAGE_HONORIFIC; ?></b> </td>
                        <td width="60%">
           <span id=11a>  </span>             
          
            <input type=text id=1 onmouseout=RequiredFields('1','1a'); onkeyup=RequiredFields2('1','1a'); class=EDITDATA2 name=TPL_surname size=25 maxlength=25 value="<?=$_POST[TPL_surname] ?>" />  - Mr. Mrs. Dr. Senor Senora 
</td>
                    </tr>
					          <? } ?>       
     
     
     
                        <tr>
                        <td width="40%"  align="right"><b> 
                        
 <? print $REGISTER_PAGE_FIRST_NAME; ?>                         
               </td>                  
                         <td width="60%">
<span id=2a>  </span>
 <INPUT TYPE=text id=2 onmouseout=RequiredFields('2','2a'); onkeyup=RequiredFields2('2','2a'); class=EDITDATA2 NAME=TPL_first_name SIZE=12 MAXLENGTH=255 VALUE="<?=$_POST[TPL_first_name]?>" />



           </td>  </TR>
                        <tr>
                        <td width="40%"  align="right"><b> 
                   

 <? print $REGISTER_PAGE_LAST_NAME; ?>   

            </td>                  
                         <td width="60%">

<span id=3a>  </span>

 <INPUT TYPE=text id=3 onmouseout=RequiredFields('3','3a'); onkeyup=RequiredFields2('3','3a'); class=EDITDATA2 NAME=TPL_last_name SIZE=20 MAXLENGTH=255 VALUE="<?=$_POST[TPL_last_name]?>" />

   
                        
                        
                        
                        
                        
                <tr>
                        <td width="40%"  align="right"><font COLOR=#1E5A8C size=+1>
                        <span class=BOLDTEXT><? print $REGISTER_PAGE_USERNAME_AND_PASSWORD; ?></font></span>  </td>
                        
                              <td width="60%" align=left>
                          <HR width=60% align=left color=#1E5A8C>   
                         </td>  </TR>            
                            
                            
                            
                            
                            
                        </td>
                    </tr>
                    <tr>
                        <td width="40%"  align="right"><b> <? print $MSG_003; ?> </b> </td>
                        <td width="60%">
                        <span id=4a>  </span>
                            <input type=text id=4 onmouseout=RequiredFields('4','4a'); onkeyup="RequiredFields2('4','4a'); usernameAjaxFunction(this.value);"" class=EDITDATA2 name=TPL_nick size=20 maxlength=20  value="<?=$_POST[TPL_nick]?>" />
                     
                            <span id="username25" ><? print $REGISTER_PAGE_SIX_CHARACTERS_MIN; ?></span></td>
                    </tr>
                    
                      </td>
                    </tr>
                    
                   
                    <tr>
                        <td width="40%"  align="right"><b> <? print $REGISTRATION_PAGE_CHOOSE_AVATAR; ?> </b> </td>
                        <td width="60%">
                        <span>  </span>
                                             
                                               <table border="0" cellspacing="0" cellpadding="0" width=240 >
<tr>
<td width="120">

<select name="TPL_avatar" id="avatar1" size="3" onChange="showimage()">
<option value="avatar-blank.jpg" selected>Anonymous</option>
<option value="avatar000.jpg">Avatar 1</option>
<option value="avatar001.jpg">Avatar 2</option>
<option value="avatar002.jpg">Avatar 3</option>
<option value="avatar003.jpg">Avatar 4</option>
<option value="avatar004.jpg">Avatar 5</option>
<option value="avatar005.jpg">Avatar 6</option>                                                             
<option value="avatar006.jpg">Avatar 7</option>
<option value="avatar007.jpg">Avatar 8</option>
<option value="avatar008.jpg">Avatar 9</option>
<option value="avatar009.jpg">Avatar 10</option>
<option value="avatar010.jpg">Avatar 11</option>
<option value="avatar011.jpg">Avatar 12</option>
<option value="avatar012.jpg">Avatar 13</option>
<option value="avatar013.jpg">Avatar 14</option>
<option value="avatar014.jpg">Avatar 15</option>
<option value="avatar015.jpg">Avatar 16</option>
<option value="avatar016.jpg">Avatar 17</option>
<option value="avatar017.jpg">Avatar 18</option>
<option value="avatar018.jpg">Avatar 19</option>
<option value="avatar019.jpg">Avatar 20</option>
<option value="avatar020.jpg">Avatar 21</option>
<option value="avatar021.jpg">Avatar 22</option>
<option value="avatar022.jpg">Avatar 23</option>
<option value="avatar023.jpg">Avatar 24</option>
<option value="avatar024.jpg">Avatar 25</option>
<option value="avatar025.jpg">Avatar 26</option>
<option value="avatar026.jpg">Avatar 27</option>
<option value="avatar027.jpg">Avatar 28</option>
<option value="avatar028.jpg">Avatar 29</option>
<option value="avatar029.jpg">Avatar 30</option>
<option value="avatar030.jpg">Avatar 31</option>
<option value="avatar031.jpg">Avatar 32</option>
<option value="avatar032.jpg">Avatar 33</option>
<option value="avatar033.jpg">Avatar 34</option>
<option value="avatar034.jpg">Avatar 35</option>
<option value="avatar035.jpg">Avatar 36</option>
<option value="avatar036.jpg">Avatar 37</option>
<option value="avatar037.jpg">Avatar 38</option>
<option value="avatar038.jpg">Avatar 39</option>
<option value="avatar039.jpg">Avatar 40</option>
<option value="avatar040.jpg">Avatar 41</option>
<option value="avatar041.jpg">Avatar 42</option>
<option value="avatar042.jpg">Avatar 43</option>
<option value="avatar043.jpg">Avatar 44</option>
<option value="avatar044.jpg">Avatar 45</option>
<option value="avatar045.jpg">Avatar 46</option>
<option value="avatar046.jpg">Avatar 47</option>
<option value="avatar047.jpg">Avatar 48</option>
<option value="avatar048.jpg">Avatar 49</option>
<option value="avatar049.jpg">Avatar 50</option>
<option value="avatar050.jpg">Avatar 51</option>
<option value="avatar051.jpg">Avatar 52</option>
<option value="avatar052.jpg">Avatar 53</option>
<option value="avatar053.jpg">Avatar 54</option>
<option value="avatar054.jpg">Avatar 55</option>
<option value="avatar055.jpg">Avatar 56</option>
<option value="avatar056.jpg">Avatar 57</option>
<option value="avatar057.jpg">Avatar 58</option>
<option value="avatar058.jpg">Avatar 59</option>
<option value="avatar059.jpg">Avatar 60</option>
<option value="avatar060.jpg">Avatar 61</option>
<option value="avatar061.jpg">Avatar 62</option>
<option value="avatar062.jpg">Avatar 63</option>
<option value="avatar063.jpg">Avatar 64</option>
<option value="avatar064.jpg">Avatar 65</option>
<option value="avatar065.jpg">Avatar 66</option>
<option value="avatar066.jpg">Avatar 67</option>
<option value="avatar067.jpg">Avatar 68</option>
<option value="avatar068.jpg">Avatar 69</option>
<option value="avatar069.jpg">Avatar 70</option>
<option value="avatar070.jpg">Avatar 71</option>
<option value="avatar071.jpg">Avatar 72</option>
<option value="avatar072.jpg">Avatar 73</option>
<option value="avatar073.jpg">Avatar 74</option>
<option value="avatar074.jpg">Avatar 75</option>
<option value="avatar075.jpg">Avatar 76</option>
<option value="avatar076.jpg">Avatar 77</option>
<option value="avatar077.jpg">Avatar 78</option>
<option value="avatar078.jpg">Avatar 79</option>
<option value="avatar079.jpg">Avatar 80</option>
<option value="avatar080.jpg">Avatar 81</option>
<option value="avatar081.jpg">Avatar 82</option>
<option value="avatar082.jpg">Avatar 83</option>
<option value="avatar083.jpg">Avatar 84</option>
<option value="avatar084.jpg">Avatar 85</option>
<option value="avatar085.jpg">Avatar 86</option>
<option value="avatar086.jpg">Avatar 87</option>
<option value="avatar087.jpg">Avatar 88</option>
<option value="avatar088.jpg">Avatar 89</option>
<option value="avatar089.jpg">Avatar 90</option>
<option value="avatar090.jpg">Avatar 91</option>
<option value="avatar091.jpg">Avatar 92</option>
<option value="avatar092.jpg">Avatar 93</option>
<option value="avatar093.jpg">Avatar 94</option>
<option value="avatar094.jpg">Avatar 95</option>
<option value="avatar095.jpg">Avatar 96</option>
<option value="avatar096.jpg">Avatar 97</option>
<option value="avatar097.jpg">Avatar 98</option>
<option value="avatar098.jpg">Avatar 99</option>
<option value="avatar099.jpg">Avatar 100</option>
<option value="avatar100.jpg">Avatar 101</option>
<option value="avatar101.jpg">Avatar 102</option>
<option value="avatar102.jpg">Avatar 103</option>
<option value="avatar103.jpg">Avatar 104</option>
<option value="avatar104.jpg">Avatar 105</option>
<option value="avatar105.jpg">Avatar 106</option>
<option value="avatar106.jpg">Avatar 107</option>
<option value="avatar107.jpg">Avatar 108</option>
<option value="avatar108.jpg">Avatar 109</option>
<option value="avatar109.jpg">Avatar 110</option>
<option value="avatar110.jpg">Avatar 111</option>
<option value="avatar111.jpg">Avatar 112</option>
<option value="avatar112.jpg">Avatar 113</option>
<option value="avatar113.jpg">Avatar 114</option>
<option value="avatar114.jpg">Avatar 115</option>
<option value="avatar115.jpg">Avatar 116</option>
<option value="avatar116.jpg">Avatar 117</option>
<option value="avatar117.jpg">Avatar 118</option>
<option value="avatar118.jpg">Avatar 119</option>
<option value="avatar119.jpg">Avatar 120</option>
<option value="avatar120.jpg">Avatar 121</option>
<option value="avatar121.jpg">Avatar 122</option>
<option value="avatar122.jpg">Avatar 123</option>
<option value="avatar123.jpg">Avatar 124</option>
<option value="avatar124.jpg">Avatar 125</option>
<option value="avatar125.jpg">Avatar 126</option>
<option value="avatar126.jpg">Avatar 127</option>
<option value="avatar127.jpg">Avatar 128</option>
<option value="avatar128.jpg">Avatar 129</option>
<option value="avatar129.jpg">Avatar 130</option>
<option value="avatar130.jpg">Avatar 131</option>
<option value="avatar131.jpg">Avatar 132</option>
<option value="avatar132.jpg">Avatar 133</option>
<option value="avatar133.jpg">Avatar 134</option>
<option value="avatar134.jpg">Avatar 135</option>
<option value="avatar135.jpg">Avatar 136</option>
<option value="avatar136.jpg">Avatar 137</option>
<option value="avatar137.jpg">Avatar 138</option>
<option value="avatar138.jpg">Avatar 139</option>
<option value="avatar139.jpg">Avatar 140</option>
<option value="avatar140.jpg">Avatar 141</option>
<option value="avatar141.jpg">Avatar 142</option>
<option value="avatar142.jpg">Avatar 143</option>
<option value="avatar143.jpg">Avatar 144</option>
<option value="avatar144.jpg">Avatar 145</option>
<option value="avatar145.jpg">Avatar 146</option>
<option value="avatar146.jpg">Avatar 147</option>
<option value="avatar147.jpg">Avatar 148</option>
<option value="avatar148.jpg">Avatar 149</option>
<option value="avatar149.jpg">Avatar 150</option>
<option value="avatar150.jpg">Avatar 151</option>
<option value="avatar151.jpg">Avatar 152</option>
<option value="avatar152.jpg">Avatar 153</option>
<option value="avatar153.jpg">Avatar 154</option>
<option value="avatar154.jpg">Avatar 155</option>
<option value="avatar155.jpg">Avatar 156</option>
<option value="avatar156.jpg">Avatar 157</option>
<option value="avatar157.jpg">Avatar 158</option>
<option value="avatar158.jpg">Avatar 159</option>
<option value="avatar159.jpg">Avatar 160</option>
<option value="avatar160.jpg">Avatar 161</option>
<option value="avatar161.jpg">Avatar 162</option>
<option value="avatar162.jpg">Avatar 163</option>
<option value="avatar163.jpg">Avatar 164</option>
<option value="avatar164.jpg">Avatar 165</option>
<option value="avatar165.jpg">Avatar 166</option>
<option value="avatar166.jpg">Avatar 167</option>
<option value="avatar167.jpg">Avatar 168</option>
<option value="avatar168.jpg">Avatar 169</option>
<option value="avatar169.jpg">Avatar 170</option>
<option value="avatar170.jpg">Avatar 171</option>
<option value="avatar171.jpg">Avatar 172</option>
<option value="avatar172.jpg">Avatar 173</option>
<option value="avatar173.jpg">Avatar 174</option>
<option value="avatar174.jpg">Avatar 175</option>
<option value="avatar175.jpg">Avatar 176</option>
<option value="avatar176.jpg">Avatar 177</option>
<option value="avatar177.jpg">Avatar 178</option>
<option value="avatar178.jpg">Avatar 179</option>
<option value="avatar179.jpg">Avatar 180</option>
<option value="avatar180.jpg">Avatar 181</option>
<option value="avatar181.jpg">Avatar 182</option>
<option value="avatar182.jpg">Avatar 183</option>
<option value="avatar183.jpg">Avatar 184</option>
<option value="avatar184.jpg">Avatar 185</option>
<option value="avatar185.jpg">Avatar 186</option>
<option value="avatar186.jpg">Avatar 187</option>
<option value="avatar187.jpg">Avatar 188</option>
<option value="avatar188.jpg">Avatar 189</option>
<option value="avatar189.jpg">Avatar 190</option>
<option value="avatar190.jpg">Avatar 191</option>
<option value="avatar191.jpg">Avatar 192</option>
<option value="avatar192.jpg">Avatar 193</option>
<option value="avatar193.jpg">Avatar 194</option>
<option value="avatar194.jpg">Avatar 195</option>
<option value="avatar195.jpg">Avatar 196</option>
<option value="avatar196.jpg">Avatar 197</option>
<option value="avatar197.jpg">Avatar 198</option>
<option value="avatar198.jpg">Avatar 199</option>
<option value="avatar199.jpg">Avatar 200</option>
<option value="avatar200.jpg">Avatar 201</option>
</select>

</td>
<td width="120"><img src="avatar-blank.jpg" name="pictures" width="100" height="100"></td>
</tr>
</table>   
                            
                            
                            </td>
                    </tr>
                    
                    
                    

                    
                    
                    
                    
                    
                    
                    
                    <tr>
                        <td width="40%"  align="right"><b> <?print $MSG_004;?> </b> </td>
                        <td width="60%">
                        <span id=5a>  </span>
                            <input class=EDITDATA2 type=password id=5 onmouseout=RequiredFields('5','5a'); onkeyup="RequiredFields2('5','5a'); return passwordChanged();" name=TPL_password size=20 maxlength=20 value="" /> <span id="strength"><? print $REGISTER_PAGE_SIX_CHARACTERS_MIN; ?></span>  
                          <!--  <BR>Minimum password length is only six (6) characters. However, to be classified as "strong" by our system, your password needs to be at least eight (8) characters long with at least one (1) each of the following: capital letter, number and special character. The remainder can be lowercase letters. --></td>
                    </tr>
                    <tr>
                        <td width="40%"  align="right"><b> <? print $REGISTER_PAGE_REPEAT_PASSWORD; ?></b> </td>
                        <td width="60%">
                        <span id=6a>  </span>
                            <input class=EDITDATA2 type=password id=6 onmouseout=RequiredFields('6','6a'); onkeydown=RequiredFields2('6','6a'); onkeyup=passwordCheck(); name=TPL_repeat_password size=20 maxlength=20 value="" /> <span class=BOLDTEXT><span id="password_match"></span>  </span>
                        </td>
                    </tr>
          
          
                   <tr>
                        <td width="40%"  align="right"><font COLOR=#1E5A8C size=+1>
                        <span class=BOLDTEXT><? print $REGISTER_PAGE_EMAIL_ADDRESS ?></font></span>  </td>
                        
                              <td width="60%" align=left>
                          <HR width=60% align=left color=#1E5A8C>   
                         </td>  </TR> 
          
          
                    <tr>
                        <td width="40%"   align="right"><b><? print $REGISTER_PAGE_EMAIL; ?></B></td>
                        <td width="60%">
                        <span id=7a>  </span>
                            <input type=text id=7 onmouseout=RequiredFields('7','7a'); onkeydown=RequiredFields2('7','7a'); class=EDITDATA2 name=TPL_email size=50 maxlength=50 value="<?=$_POST[TPL_email]?>" />
				
        
        
        	<?
						if(!empty($TPL_domains_alert)){
							print "<BR />".$TPL_domains_alert;
						}
					?>
                        </td>
                    </tr>
					
					                      
                    <tr>
                        <td width="40%"   align="right"><b><? print $REGISTER_PAGE_REPEAT_EMAIL; ?></B></td>
                        <td width="60%">
                        <span id=7bb>  </span>
                            <input type=text id=7b onmouseout=RequiredFields('7b','7bb'); onkeydown=RequiredFields2('7b','7bb'); onkeyup=emailCheck(); class=EDITDATA2 name=TPL_email2 size=50 maxlength=50 value="<?=$_POST[TPL_email]?>" /><span class=BOLDTEXT> <span id="email_match"></span>  </span>
				
        
        
        	<?
						if(!empty($TPL_domains_alert)){
							print "<BR />".$TPL_domains_alert;
						}
					?>
                        </td>
                    </tr>
					
	
  
          <tr>
                        <td width="40%"  align="right"><font COLOR=#1E5A8C size=+1>
                        <span class=BOLDTEXT><? print $REGISTER_PAGE_MAILING_ADDRESS; ?></font></span>  </td>
                        
                              <td width="60%" align=left>
                          <HR width=60% align=left color=#1E5A8C>   
                         </td>  </TR>            
                            
                            
  				
                    
                    <tr>
                        <td width="40%"  align="right"><b><? print $REGISTER_PAGE_ADDRESS_PO_BOX; ?></b> </td>
                        <td width="60%">
                        <span id=9a>  </span>
                            <input type=text id=9 onmouseout=RequiredFields('9','9a'); onkeyup=RequiredFields2('9','9a'); class=EDITDATA2 name=TPL_address size=40 maxlength=255 value="<?=$_POST[TPL_address]?>" />
                        </td>
                    </tr>
					
					
					                      <tr>
                        <td width="40%"  align="right"><b><? print $REGISTER_PAGE_APARTMENT_SUITE ?></b> </td>
                        <td width="60%">
                        <span>  </span>
                            <input type=text class=EDITDATA2 name=TPL_address2 size=40 maxlength=255 value="<?=$_POST[TPL_address2]?>" />
                        </td>
                    </tr>
                    
                    
					
                    <tr>
                        <td width="40%"  align="right"><b><? print $MSG_010; ?></b> </td>
                        <td width="60%">
                        <span id=10a>  </span>
                            <input type=text id=10 onmouseout=RequiredFields('10','10a'); onkeyup=RequiredFields2('10','10a'); class=EDITDATA2 name=TPL_city size=25 maxlength=25 value="<?=$_POST[TPL_city]?>" />
                        </td>
                    </tr>
					
				
            <? if ( $phone_type2 == 'usa' ) { ?> 
        
        	        <tr>
                        <td width="40%"  align="right"><b><? print $MSG_011; ?></b> </td>
                        <td width="60%">
           <span id=11a>  </span>             
          <select name="TPL_prov" id=11 onmouseover=RequiredFields('11','11a'); onmouseout=RequiredFields2('11','11a'); class=EDITDATA2A >
          <option value="<?=$_POST[TPL_prov]?>"><?=$_POST[TPL_prov]?>                                                          
                                                                    
            <? include "themes/default/states_provinces_counties.php"; ?>                                                        
          </select>
                                                                
                                     </td>
                    </tr>
					          <? } ?>
              
              
                       <? if ( $phone_type2 != 'usa' ) { ?> 
        
        	        <tr>
                        <td width="40%"  align="right"><b><? print $MSG_011; ?></b> </td>
                        <td width="60%">
           <span id=11a>  </span>             
          
            <input type=text id=11 onmouseout=RequiredFields('11','11a'); onkeyup=RequiredFields2('11','11a'); class=EDITDATA2 name=TPL_prov size=25 maxlength=25 value="<?=$_POST[TPL_prov] ?>" />
</td>
                    </tr>
					          <? } ?>       
					
                    <tr>
                        <td width="40%"  align="right"><b><?print $MSG_012; ?></b> </td>
                        <td width="60%">
                        <span id=12a>  </span>
                            <input type=text id=12 onmouseout=RequiredFields('12','12a'); onkeyup=RequiredFields2('12','12a'); class=EDITDATA2 name=TPL_zip size=12 value="<?=$_POST[TPL_zip]?>" />
                        </td>
                    </tr>
					             <tr>
                        <td width="40%"  align="right"><b> <?print $MSG_014?> </b> </td>
                        <td width="60%">
                            <select name=TPL_country class=EDITDATA2A >
                                <option value=""> <? print $MSG_251; ?> </option>
                                <?=$country?>
                            </select>
                        </td>
                    </tr>
<tr>
                        <td width="40%"  align="right"><font COLOR=#1E5A8C size=+1>
                        <span class=BOLDTEXT><? print $REGISTER_PAGE_OTHER_INFO; ?></font></span>  </td>
                        
                              <td width="60%" align=left>
                          <HR width=60% align=left color=#1E5A8C>   
                         </td>  </TR>            

<?  if ( $intl_date_time1 != 1 ) {   ?>
          
     <tr>
                        <td width="40%"  align="right"><b> <?print $MSG_252;?> </b> </td>
                        <td width="60%">
                        
                        
                       
                        
                       
                        
                        
                          <!--  <input type=text id=8 class=EDITDATA2 onmouseout=RequiredFields('8','8a'); onkeyup=RequiredFields2('8','8a'); name=TPL_birthdate size=10 maxlength=10 value="<?=$_POST[TPL_birthdate]?>" />          -->
<select id=8 onmouseout=RequiredFields('8','8a'); onmouseover=RequiredFields2('8','8a'); name="TPL_birthmonth" style="width:100px; font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#000000;">
 <option value=""><? print $REGISTER_PAGE_MONTH; ?></option> 
   <option value=<?=$_POST[TPL_birthmonth]; echo " selected"; ?>><?=$_POST[TPL_birthmonth]?></option>

<option value=01>01 - <? print $REGISTER_PAGE_JANUARY; ?></option>
<option value=02>02 - <? print $REGISTER_PAGE_FEBRUARY; ?></option>
<option value=03>03 - <? print $REGISTER_PAGE_MARCH; ?></option>
<option value=04>04 - <? print $REGISTER_PAGE_APRIL; ?></option>
<option value=05>05 - <? print $REGISTER_PAGE_MAY; ?></option>
<option value=06>06 - <? print $REGISTER_PAGE_JUNE; ?></option>
<option value=07>07 - <? print $REGISTER_PAGE_JULY; ?></option>
<option value=08>08 - <? print $REGISTER_PAGE_AUGUST; ?></option>
<option value=09>09 - <? print $REGISTER_PAGE_SEPTEMBER; ?></option>
<option value=10>10 - <? print $REGISTER_PAGE_OCTOBER; ?></option>
<option value=11>11 - <? print $REGISTER_PAGE_NOVEMBER; ?></option>
<option value=12>12 - <? print $REGISTER_PAGE_DECEMBER; ?></option>
						</select>
            
             
						<select id=8b onmouseout=RequiredFields('8b','8a'); onmouseover=RequiredFields2('8b','8a'); name="TPL_birthday" style="width:60px; font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#000000;">

  <option value=""><? print $REGISTER_PAGE_DAY; ?></option>
   <option value=<?=$_POST[TPL_birthday]; echo " selected"; ?>><?=$_POST[TPL_birthday]?></option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>

						</select> 
						
						
						
						
<SELECT id=8c onmouseout=RequiredFields('8c','8a'); onmouseover=RequiredFields2('8c','8a'); NAME="TPL_birthyear" style="width:80px; font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#000000;">
 <option value=""><? print $REGISTER_PAGE_YEAR; ?></option> 
<OPTION VALUE=<?=$_POST[TPL_birthyear]; echo " selected"; ?>><?=$_POST[TPL_birthyear]?>
<OPTION VALUE=1910>1910
<OPTION VALUE=1911>1911
<OPTION VALUE=1912>1912
<OPTION VALUE=1913>1913
<OPTION VALUE=1914>1914
<OPTION VALUE=1915>1915
<OPTION VALUE=1916>1916
<OPTION VALUE=1917>1917
<OPTION VALUE=1918>1918
<OPTION VALUE=1919>1919
<OPTION VALUE=1920>1920
<OPTION VALUE=1921>1921
<OPTION VALUE=1922>1922
<OPTION VALUE=1923>1923
<OPTION VALUE=1924>1924
<OPTION VALUE=1925>1925
<OPTION VALUE=1926>1926
<OPTION VALUE=1927>1927
<OPTION VALUE=1928>1928
<OPTION VALUE=1929>1929
<OPTION VALUE=1930>1930
<OPTION VALUE=1931>1931
<OPTION VALUE=1932>1932
<OPTION VALUE=1933>1933
<OPTION VALUE=1934>1934
<OPTION VALUE=1935>1935
<OPTION VALUE=1936>1936
<OPTION VALUE=1937>1937
<OPTION VALUE=1938>1938
<OPTION VALUE=1939>1939
<OPTION VALUE=1940>1940
<OPTION VALUE=1941>1941
<OPTION VALUE=1942>1942
<OPTION VALUE=1943>1943
<OPTION VALUE=1944>1944
<OPTION VALUE=1945>1945
<OPTION VALUE=1946>1946
<OPTION VALUE=1947>1947
<OPTION VALUE=1948>1948
<OPTION VALUE=1949>1949
<OPTION VALUE=1950>1950
<OPTION VALUE=1951>1951
<OPTION VALUE=1952>1952
<OPTION VALUE=1953>1953
<OPTION VALUE=1954>1954
<OPTION VALUE=1955>1955
<OPTION VALUE=1956>1956
<OPTION VALUE=1957>1957
<OPTION VALUE=1958>1958
<OPTION VALUE=1959>1959
<OPTION VALUE=1960>1960
<OPTION VALUE=1961>1961
<OPTION VALUE=1962>1962
<OPTION VALUE=1963>1963
<OPTION VALUE=1964>1964
<OPTION VALUE=1965>1965
<OPTION VALUE=1966>1966
<OPTION VALUE=1967>1967
<OPTION VALUE=1968>1968
<OPTION VALUE=1969>1969
<OPTION VALUE=1970>1970
<OPTION VALUE=1971>1971
<OPTION VALUE=1972>1972
<OPTION VALUE=1973>1973
<OPTION VALUE=1974>1974
<OPTION VALUE=1975>1975
<OPTION VALUE=1976>1976
<OPTION VALUE=1977>1977
<OPTION VALUE=1978>1978
<OPTION VALUE=1979>1979
<OPTION VALUE=1980>1980
<OPTION VALUE=1981>1981
<OPTION VALUE=1982>1982
<OPTION VALUE=1983>1983
<OPTION VALUE=1984>1984
<OPTION VALUE=1985>1985
<OPTION VALUE=1986>1986
<OPTION VALUE=1987>1987
<OPTION VALUE=1988>1988
<OPTION VALUE=1989>1989
<OPTION VALUE=1990>1990
<OPTION VALUE=1991>1991
</SELECT>
						        <span id=8a>  </span>
					 &nbsp;<br><font size=-2><? print $REGISTER_PAGE_MUST_BE_18; ?>	</font>
						

    <? } ?>                     
                         
                         
                         
                     <?  if ( $intl_date_time1 == 1 ) {   ?>
          
     <tr>
                        <td width="40%"  align="right"><b> <?print $MSG_252;?> </b> </td>
                        <td width="60%">
                        
                        
                       
              						
						
						
<SELECT id=8c onmouseout=RequiredFields('8c','8a'); onmouseover=RequiredFields2('8c','8a'); NAME="TPL_birthyear" style="width:80px; font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#000000;">
 <option value=""><? print $REGISTER_PAGE_YEAR; ?></option> 
<OPTION VALUE=<?=$_POST[TPL_birthyear]; echo " selected"; ?>><?=$_POST[TPL_birthyear]?>
<OPTION VALUE=1910>1910
<OPTION VALUE=1911>1911
<OPTION VALUE=1912>1912
<OPTION VALUE=1913>1913
<OPTION VALUE=1914>1914
<OPTION VALUE=1915>1915
<OPTION VALUE=1916>1916
<OPTION VALUE=1917>1917
<OPTION VALUE=1918>1918
<OPTION VALUE=1919>1919
<OPTION VALUE=1920>1920
<OPTION VALUE=1921>1921
<OPTION VALUE=1922>1922
<OPTION VALUE=1923>1923
<OPTION VALUE=1924>1924
<OPTION VALUE=1925>1925
<OPTION VALUE=1926>1926
<OPTION VALUE=1927>1927
<OPTION VALUE=1928>1928
<OPTION VALUE=1929>1929
<OPTION VALUE=1930>1930
<OPTION VALUE=1931>1931
<OPTION VALUE=1932>1932
<OPTION VALUE=1933>1933
<OPTION VALUE=1934>1934
<OPTION VALUE=1935>1935
<OPTION VALUE=1936>1936
<OPTION VALUE=1937>1937
<OPTION VALUE=1938>1938
<OPTION VALUE=1939>1939
<OPTION VALUE=1940>1940
<OPTION VALUE=1941>1941
<OPTION VALUE=1942>1942
<OPTION VALUE=1943>1943
<OPTION VALUE=1944>1944
<OPTION VALUE=1945>1945
<OPTION VALUE=1946>1946
<OPTION VALUE=1947>1947
<OPTION VALUE=1948>1948
<OPTION VALUE=1949>1949
<OPTION VALUE=1950>1950
<OPTION VALUE=1951>1951
<OPTION VALUE=1952>1952
<OPTION VALUE=1953>1953
<OPTION VALUE=1954>1954
<OPTION VALUE=1955>1955
<OPTION VALUE=1956>1956
<OPTION VALUE=1957>1957
<OPTION VALUE=1958>1958
<OPTION VALUE=1959>1959
<OPTION VALUE=1960>1960
<OPTION VALUE=1961>1961
<OPTION VALUE=1962>1962
<OPTION VALUE=1963>1963
<OPTION VALUE=1964>1964
<OPTION VALUE=1965>1965
<OPTION VALUE=1966>1966
<OPTION VALUE=1967>1967
<OPTION VALUE=1968>1968
<OPTION VALUE=1969>1969
<OPTION VALUE=1970>1970
<OPTION VALUE=1971>1971
<OPTION VALUE=1972>1972
<OPTION VALUE=1973>1973
<OPTION VALUE=1974>1974
<OPTION VALUE=1975>1975
<OPTION VALUE=1976>1976
<OPTION VALUE=1977>1977
<OPTION VALUE=1978>1978
<OPTION VALUE=1979>1979
<OPTION VALUE=1980>1980
<OPTION VALUE=1981>1981
<OPTION VALUE=1982>1982
<OPTION VALUE=1983>1983
<OPTION VALUE=1984>1984
<OPTION VALUE=1985>1985
<OPTION VALUE=1986>1986
<OPTION VALUE=1987>1987
<OPTION VALUE=1988>1988
<OPTION VALUE=1989>1989
<OPTION VALUE=1990>1990
<OPTION VALUE=1991>1991
</SELECT>          
                       
                        
                        
                          <!--  <input type=text id=8 class=EDITDATA2 onmouseout=RequiredFields('8','8a'); onkeyup=RequiredFields2('8','8a'); name=TPL_birthdate size=10 maxlength=10 value="<?=$_POST[TPL_birthdate]?>" />          -->
<select id=8 onmouseout=RequiredFields('8','8a'); onmouseover=RequiredFields2('8','8a'); name="TPL_birthmonth" style="width:100px; font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#000000;">
 <option value=""><? print $REGISTER_PAGE_MONTH; ?></option> 
   <option value=<?=$_POST[TPL_birthmonth]; echo " selected"; ?>><?=$_POST[TPL_birthmonth]?></option>

<option value=01>01 - <? print $REGISTER_PAGE_JANUARY; ?></option>
<option value=02>02 - <? print $REGISTER_PAGE_FEBRUARY; ?></option>
<option value=03>03 - <? print $REGISTER_PAGE_MARCH; ?></option>
<option value=04>04 - <? print $REGISTER_PAGE_APRIL; ?></option>
<option value=05>05 - <? print $REGISTER_PAGE_MAY; ?></option>
<option value=06>06 - <? print $REGISTER_PAGE_JUNE; ?></option>
<option value=07>07 - <? print $REGISTER_PAGE_JULY; ?></option>
<option value=08>08 - <? print $REGISTER_PAGE_AUGUST; ?></option>
<option value=09>09 - <? print $REGISTER_PAGE_SEPTEMBER; ?></option>
<option value=10>10 - <? print $REGISTER_PAGE_OCTOBER; ?></option>
<option value=11>11 - <? print $REGISTER_PAGE_NOVEMBER; ?></option>
<option value=12>12 - <? print $REGISTER_PAGE_DECEMBER; ?></option>
						</select>
            
             
						<select id=8b onmouseout=RequiredFields('8b','8a'); onmouseover=RequiredFields2('8b','8a'); name="TPL_birthday" style="width:60px; font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#000000;">

  <option value=""><? print $REGISTER_PAGE_DAY; ?></option>
   <option value=<?=$_POST[TPL_birthday]; echo " selected"; ?>><?=$_POST[TPL_birthday]?></option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>

						</select> 
						

						        <span id=8a>  </span>
					 &nbsp;<br><font size=-2><? print $REGISTER_PAGE_MUST_BE_18; ?>	</font>
						

    <? } ?>                  
                         
                            <?
                            
                            
                          //  if($SETTINGS[datesformat] == "USA") {
                          //  	print $MSG_382;
                         //   } else {
                         //   	print $MSG_383;
                         //   }
                            
                            
  							?>
                        </td>
                    </tr>
					

                  
          
          
          
          
          
          
                             <tr>
                        <td width="40%"  align="right"><b><? print $MSG_013; ?> </b> </td>
                        <td width="60%">
                      
                        
                  
                     <? if ( $phone_type2 == 'usa' ) { ?> 
                      <!--      <input type=text id=22 onmouseout=RequiredFields('22','22a'); onkeyup=RequiredFields2('22','22a'); class=EDITDATA2 name=TPL_phone size=8 value="<?=$_POST[TPL_phone]?>" />      -->
                      
                     ( <input type=text id=22 onmouseout=RequiredFields('22','22a'); onkeyup=RequiredFields2('22','22a'); class=EDITDATA4 name=TPL_phone1 size=3 maxlength=3 value="<?=$_POST[TPL_phone1]?>" /> ) 
                       &nbsp;<input type=text id=23 onmouseout=RequiredFields('23','22a'); onkeyup=RequiredFields2('23','22a'); class=EDITDATA4 name=TPL_phone2 size=3 maxlength=3 value="<?=$_POST[TPL_phone2]?>" />
                       - <input type=text id=24 onmouseout=RequiredFields('24','22a'); onkeyup=RequiredFields2('24','22a'); class=EDITDATA5 name=TPL_phone3 size=4 maxlength=4  value="<?=$_POST[TPL_phone3]?>" />
                                    <? } ?>
                                    
                                    <? if ( $phone_type2 != 'usa' ) { ?> 
                      <!--      <input type=text id=22 onmouseout=RequiredFields('22','22a'); onkeyup=RequiredFields2('22','22a'); class=EDITDATA2 name=TPL_phone size=8 value="<?=$_POST[TPL_phone]?>" />      -->
                      
                     <input type=text id=22 onmouseout=RequiredFields('22','22a'); onkeyup=RequiredFields2('22','22a'); class=EDITDATA2 name=TPL_phone1 size=24 maxlength=24 value="<?=$_POST[TPL_phone1]?>" />
                                   <input type=hidden id=23 onmouseout=RequiredFields('23','22a'); onkeyup=RequiredFields2('23','22a'); class=EDITDATA4 name=TPL_phone2 size=3 maxlength=3 value=" " />
                       <input type=hidden id=24 onmouseout=RequiredFields('24','22a'); onkeyup=RequiredFields2('24','22a'); class=EDITDATA5 name=TPL_phone3 size=4 maxlength=4  value=" " />
                                   
                                    <? } ?>
               
                   <span id=22a>  </span>    
                      &nbsp;<br><font size=-2><? print $REGISTER_PAGE_USED_ONLY_FOR_CUSTOMER_SERVICE; ?>	</font>
                      
                     
                      
                        </td>
                    </tr>
                    
                    
                    
          

                 
					<?
                    if($SETTINGS[userscreditcard] == 'y' && $_SERVER[HTTPS] == 'on') {
					?>
                    <tr bgcolor="<?=$SETTINGS[headercolor]?>">
                        <td width="40%"  align="left"><b>
                            <?=$MSG_5272;?>
                            </b> </td>
                        <td width="60%">
                            <?=$MSG_5273?>
                            <br />
                            <table width="100%" border="0" cellspacing="0" cellpadding="2">
                                <tr>
                                    <td width="25%"><b>
                                        <?=$MSG_5285?>
                                        </b></td>
                                    <td width="75%">
                                        <input type=text class=EDITDATA2 name=TPL_cc size=16 maxlength=16 value="<?=$_POST[TPL_cc]?>" />
                                    </td>
                                </tr>
                                <tr>
                                    <td width="25%"><b>
                                        <?=$MSG_5286?>
                                        </b></td>
                                    <td width="75%">
                                        <input type="text" name="TPL_exp_month" size="2" value="<?=$_POST[TPL_exp_month]?>" />
                                        /
                                        <input type="text" name="TPL_exp_year" size="2" value="<?=$_POST[TPL_exp_year]?>" />
                                        <?=$MSG_5288?>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="25%"><b>
                                        <?=$MSG_5287?>
                                        </b></td>
                                    <td width="75%">
                                        <input type="text" name="TPL_card_owner" value="<?=$_POST[TPL_card_owner]?>" />
                                    </td>
                                </tr>
                                <tr>
                                    <td width="25%"><b>
                                        <?=$MSG_5301?>
                                        </b></td>
                                    <td width="75%">
                                        <input type="text" size=10 name="TPL_card_zip" value="<?=$_POST[TPL_card_zip]?>" />
                                    </td>
                                </tr>
                                
                                
                                
                                
                                
                                
                                
                                
                                
                       
                                                    
                                
                                
                            </table>
                        </td>
                    </tr>
                    <?
                    }
					?>
                    <?
                    if($SETTINGS[newsletter] == 1) {
					?>
                    <tr>
                        <td width="40%" align=right><b><?print $MSG_608;?></b></td>
                        <td width="60%">
                            <input type="radio" name="TPL_nletter" value="1"<? if($_POST[TPL_nletter] == 1 || empty($_POST[TPL_nletter])) print " checked=true";?> />
                            <?=$MSG_030;?>
                            <input type="radio" name="TPL_nletter" value="2"<? if($_POST[TPL_nletter] == 2) print " checked=true";?> />
                            <?=$MSG_029;?>
                        </td>
                    </tr>
                    <?
                    }
					?>
					
					
					                    <tr>
                        <td width="40%"  align="right"><b><? print $REGISETER_PAGE_PROMOCODE; ?></b> </td>
                        <td width="60%">
                        <span id=10a>  </span>
                            <input type=text  class=EDITDATA2 name=TPL_promo size=25 maxlength=25 value="<?=$_POST[TPL_promo]?>" />
                        </td>
                    </tr>
					
					
					
					
					 <tr>
                        <td width="40%"  align="right"><b> <? print $MSG_5086; ?> </b> </td>
                        <td width="60%">
                        <span id=13a>  </span>
                     <input type="checkbox" name="TPL_terms" id=13><? print $REGISTER_PAGE_TERMS_AND_CONDITIONS_NOTE; ?>
                     
                        </td>
                        </tr>
                                     
                                
                             <tr>
                        <td width="40%"  align="right"><b> <? print $REGISTER_PAGE_PRIVACY_POLICY; ?> </b> </td>
                        <td width="60%">
                        <span id=14a>  </span>
                     <input type="checkbox" name="TPL_privacy" id=14> <? print $REGISTER_PAGE_PRIVACY_POLICY_NOTE; ?> 
			                                 
                        </td>
                        </tr> 
                </table>
                <div style="text-align:center">
                    <?
                    if($SETTINGS[showacceptancetext] == 0) {
					?>
                    <p>
                        <?=nl2br(stripslashes($SETTINGS[acceptancetext]))?>
                    </p>
                    <?
                    }
					?>
                    <input type=hidden name="action" value="first" />
                    <input type="hidden" name="TPL_id_hidden" value="<?=$_POST[TPL_id_hidden]?>" />
                    <input type="hidden" name="TPL_nick_hidden" value="<?=$_POST[TPL_nick_hidden]?>" />
                    <input type="hidden" name="TPL_password_hidden" value="<?=$_POST[TPL_password_hidden]?>" />
                    <input type="hidden" name="TPL_name_hidden" value="<?=$_POST[TPL_name_hidden]?>" />
                    <input type="hidden" name="TPL_email_hidden" value="<?=$_POST[TPL_email_hidden]?>" />
                    
 <input type="hidden" name="TPL_password_backup" value="<?=$TPL_password ?>" />
 
 
 
                    
                          <p> <BR>
                    <input type=submit name="" value=" <? print $REGISTER_PAGE_COMPLETE_REGISTARTION_BUTTON; ?> " class=button  />
                    <!-- <input type=reset name="" value="Reset" class=button />    -->
                    

                </div>
            </form>
    
  
</div>

    <? print $page_title_content_box_stop; ?>


